from sqlalchemy import Integer, Column, String
from config.database import Base


class SysUserKey(Base):
    """
    UserKey表
    """

    __tablename__ = 'sys_user_key'

    id = Column(Integer, primary_key=True, nullable=False, comment='ID')
    user_id = Column(Integer, nullable=True, comment='用户ID')
    api_key = Column(String(255), nullable=False, comment='API-KEY')



